﻿namespace iFinance.Entity
{
    using System;

    /// <summary>
    /// 账户变动明细实体
    /// </summary>
    public partial class AccountDetail
    {
        /// <summary>
        /// 唯一编号
        /// </summary>
        public int ID { get; set; }

        /// <summary>
        /// 变动的账户ID
        /// </summary>
        public int AccountID { get; set; }

        /// <summary>
        /// 变动金额（有正负）
        /// </summary>
        public decimal Amount { get; set; }

        /// <summary>
        /// 变动时间
        /// </summary>
        public DateTime Date { get; set; }

        /// <summary>
        /// 变动类型
        /// </summary>
        public AccountChangeType Type { get; set; }

        /// <summary>
        /// 关联的记录ID
        /// </summary>
        public int RecordID { get; set; }
    }    
}
